package com.common.repostitory;

import com.common.tool.Page;
import com.ssh.entity.Consumer;

import java.util.List;
import java.util.Map;

/**
 * Created by zpen on 2018/2/24.
 */
public interface ConsumerRepository {


    Consumer getConsumer(Consumer consumer);

     int getAllRowCount(Consumer consumer);

    List<Map<String, Object>> queryForPage(Consumer consumer, Page page);


}
